Skip to content

Conversation

@cheplv
Copy link

@cheplv cheplv commented Jul 20, 2025

This change adds support for jnlp template file via "file://" scheme.

Example of template configuration:
download_endpoint: file:///app/templates/ilo3-template.jlnp

@cheplv cheplv changed the title #25 Add support for template jnlp file #25 - Add support for template jnlp file Jul 20, 2025
@cheplv
Copy link
Author

cheplv commented Jul 20, 2025

Configuration:

download_endpoint: file:///app/templates/ilo3-template.jnlp
format_jnlp: True

Template:

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="https://{base_url}/" href="">
	<information>
		<title>Integrated Remote Console</title>
		<vendor>HPE</vendor>
		<offline-allowed></offline-allowed>
	</information>
	<security>
		<all-permissions></all-permissions>
	</security>
	<resources>
		<j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"></j2se>
		<jar href="https://{base_url}/html/intgapp3_231.jar" main="false" />
	</resources>
	<property name="deployment.trace.level property" value="basic"></property>
	<applet-desc main-class="com.hp.ilo2.intgapp.intgapp" name="iLOJIRC" documentbase="https://{base_url}/html/java_irc.html" width="1" height="1">
		<param name="RCINFO1" value="{session_key}"/>
		<param name="RCINFOLANG" value="en"/>
		<param name="INFO0" value="7AC3BDEBC9AC64E85734454B53BB73CE"/>
		<param name="INFO1" value="17988"/>
		<param name="INFO2" value="composite"/>
	</applet-desc>
	<update check="background"></update>
</jnlp>

@cheplv
Copy link
Author

cheplv commented Jul 20, 2025

Templates must be mounted in docker container so need to add possibility to pass additional arguments into docker cmd for templates and iso images etc like:
-v templates:/app/templates -v images:/app/images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant